package net.maku.module.news.convert;

import net.maku.module.news.entity.NewsStaffEntity;
import net.maku.module.news.vo.NewsStaffVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_新闻阅读记录
*
* @author    
*/
@Mapper
public interface NewsStaffConvert {
    NewsStaffConvert INSTANCE = Mappers.getMapper(NewsStaffConvert.class);

    NewsStaffEntity convert(NewsStaffVO vo);

    NewsStaffVO convert(NewsStaffEntity entity);

    List<NewsStaffVO> convertList(List<NewsStaffEntity> list);

}